<include file="System:leftmenu" />

<div class="content-right fl">
    <h1 class="content-right-title">等级1二维码</h1>
    <form id="form" aciton="" method="post" enctype="multipart/form-data">
        <foreach name="gradeArr" item="vo">
            <div class="panel-single panel-single-light mgt20">
                <div class="formitems">
                    <label class="fi-name"><?=$vo['grade_name']?>二维码：</label>
                    <div class="form-controls pdt5 j-imglistPanel">
                        <div id="uploadPic">
                            <ul id="uploadlist" style=" width:200px;">
                                <li>
                                    <div class="displayimg">
                                        <img src="<?php echo C('UPYUN_DOMAIN');?><?php echo C('QRCODE_GRADE'.$vo['grade_id']);?>" width="200px" onerror="javascript:this.src='__STATIC__admin/images/error.png';" />
                                    </div>
                                </li>
                            </ul>
                            <div style="clear:both;"></div>
                        </div>
                        <span class="fi-help-text">建议图片尺寸为530px * 824px</span>
                    </div>
                </div>
                <div class="formitems">
                    <label class="fi-name">选择图片上传：</label>
                    <div class="form-controls">
                        <input type="file" class="input" name="QRCODE_GRADE<?=$vo['grade_id']?>" value="上传">
                        <span class="fi-help-text"></span>
                    </div>
                </div>
            </div>
        </foreach>
        <div class="panel-single panel-single-light mgt20">
            <a href="javascript:$('#form').submit();" class="btn btn-primary j-add">保存</a>
        </div>
    </form>
</div>
